﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using 简单工厂.War3.Interface;
using 简单工厂.War3.Service;

namespace 工厂方法模式.FactoryMethod
{
    /// <summary>
    /// 工厂类
    /// </summary>
    public class UndeadFactory : IFactory
    {

        public IRace CreateInstance()
        {
            return new Undead();
        }
    }
}
